New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@semantic-release/git

Package Overview
Dependencies
Maintainers
5
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@semantic-release/git

semantic-release plugin to commit release assets to the project's git repository

10.0.1
latest
Source
npm
Version published
Maintainers
5
Created

What is @semantic-release/git?

@semantic-release/git is a plugin for semantic-release that allows you to commit files to the Git repository as part of the release process. This can be useful for updating version numbers, changelogs, or any other files that need to be committed after a release.

What are @semantic-release/git's main functionalities?

Commit files to the repository

This feature allows you to commit specified files (e.g., package.json, CHANGELOG.md) to the repository with a custom commit message after a release.

{
  "plugins": [
    [
      "@semantic-release/git",
      {
        "assets": ["package.json", "CHANGELOG.md"],
        "message": "chore(release): ${nextRelease.version} [skip ci]"
      }
    ]
  ]
}

Skip CI for release commits

This feature allows you to add a [skip ci] flag to the commit message to prevent CI pipelines from running on release commits.

{
  "plugins": [
    [
      "@semantic-release/git",
      {
        "message": "chore(release): ${nextRelease.version} [skip ci]"
      }
    ]
  ]
}

Customizable commit message

This feature allows you to customize the commit message used for the release commit.

{
  "plugins": [
    [
      "@semantic-release/git",
      {
        "message": "Release version ${nextRelease.version}"
      }
    ]
  ]
}

Other packages similar to @semantic-release/git

Keywords

changelog

FAQs

Package last updated on 30 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts